package com.primary.controller.request;

import lombok.Data;

/**
 * @author Shen Jianhui
 * @time 2023/07/18 07:35 Tuesday
 * @description To complete show data by multi pages,this requesting will provide a pageNum as page's nums
 *              and pageSize as on one page's limited data
 */
@Data
public class BaseRequest {
    private Integer pageNum = 1;
    private Integer pageSize = 7;
	public Integer getPageNum() {
		return pageNum;
	}
	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}
	public Integer getPageSize() {
		return pageSize;
	}
	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}
	@Override
	public String toString() {
		return "BaseRequest [pageNum=" + pageNum + ", pageSize=" + pageSize + "]";
	}
}
